package com.example.userservie.demos.web;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Classname UserServiceImpl
 * @Description
 * @Author caozhenhao001
 * @Date 2024/3/20
 * @Version
 */

@Service
public class UserServiceImpl implements UserService{
    @Autowired
    UserRepository userRepository;

    @Override
    public User getUserById(String id) {
        return userRepository.getUserById(id);
    }
}
